package com.dyzx.hbb.modules.fcxs.vo;

import com.fasterxml.jackson.annotation.JsonProperty;
import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotNull;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serial;
import java.io.Serializable;

/**
 * 线索添加视图对象
 *
 * @author AI Assistant
 * @date 2023-07-10
 */
@Schema(description = "线索添加视图对象")
@Data
@NoArgsConstructor
@AllArgsConstructor
@Builder
public class FcxsClueVO implements Serializable {

    @Serial
    private static final long serialVersionUID = 1L;

    /**
     * 线索名称
     */
    @Schema(description = "线索名称")
  //  @NotNull(message = "线索名称不能为空")
    @JsonProperty("name")
    private String name;




    /**
     * 联系电话
     */
    @Schema(description = "联系电话")
    @JsonProperty("phone")
    private String phone;


    /**
     * 客户需求  字典信息：fcxs_clue_needs
     */
    @Schema(description = "客户需求  字典信息：fcxs_clue_needs")
    @JsonProperty("customer_needs")

    private Integer customerNeeds;

    /**
     * 客户建议
     */
    @Schema(description = "客户建议")
    @JsonProperty("customer_suggestions")
    private String customerSuggestions;

    /**
     * 线索状态（0-未跟进，1-跟进中，2-已转化，3-已失效）
     */
   // @NotNull(message = "线索状态不能为空")
    @Schema(description = "线索状态（0-未跟进，1-跟进中，2-已转化，3-已失效）")
    @JsonProperty("status")
    private Integer status;



}
